//
//  LSZInformationChooseTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/5/16.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZInformationChooseTableViewCell.h"

@implementation LSZInformationChooseTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.imageCollection = [[UIImageView alloc]init];
        self.imageCollection.image = [UIImage imageNamed:@"弹窗-收藏"];
        [self addSubview:self.imageCollection];

        self.labelCollection = [[UILabel alloc]init];
        self.labelCollection.textColor = titleColorLSZ;
        self.labelCollection.text = @"收藏";
        [LSZSpecialPackaging setLabel_14_5_Size:self.labelCollection];
        [self addSubview:self.labelCollection];

        if (ScreenWidth == 320) {
            //5
            self.imageCollection.frame = CGRectMake(10,(45-19)/2, 19, 19);
            self.labelCollection.frame = CGRectMake(10+CGRectGetMaxX(self.imageCollection.frame), (45-19)/2, 250, 19);
        }else if(ScreenWidth == 375){
            // 6 7
            self.imageCollection.frame = CGRectMake(10,(50-20)/2,20, 20);
            self.labelCollection.frame = CGRectMake(10+CGRectGetMaxX(self.imageCollection.frame),(50-22)/2, 250, 20);
        }else {
            //plus
            self.imageCollection.frame = CGRectMake(10,(58-21)/2,21, 21);
            self.labelCollection.frame = CGRectMake(10+CGRectGetMaxX(self.imageCollection.frame),(58-21)/2, 250, 21);
        }
    }
    return self;
}

@end
